Skip to content

fix (mvSlider3D): fixed thumbgs drag being reset after 1 frame (#2640).#2647

Merged
hoffstadt merged 1 commit intohoffstadt:masterfrom
v-ein:bugfix/2640-slider-3d
May 4, 2026
Merged

fix (mvSlider3D): fixed thumbgs drag being reset after 1 frame (#2640).#2647
hoffstadt merged 1 commit intohoffstadt:masterfrom
v-ein:bugfix/2640-slider-3d

Conversation

@v-ein
Copy link
Copy Markdown
Collaborator

@v-ein v-ein commented May 2, 2026


name: Pull Request
about: Create a pull request to help us improve
title: fix (mvSlider3D): fixed thumbgs drag being reset after 1 frame (#2640).
assignees: ''


Closes #2640.

Description:

The issue is caused by an old change in ImGui (back in 2022) - see ocornut/imgui#5181. Basically whoever calls ImGui::ButtonBehavior() directly must now use KeepAliveID() or ItemAdd() as well. The fix adds the necessary KeepAliveID() calls.

Concerning Areas:
None.

@v-ein v-ein requested a review from hoffstadt May 2, 2026 21:27
@hoffstadt hoffstadt merged commit 59c078c into hoffstadt:master May 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3D Slider: thumb dragging is broken

2 participants